import type { UserConfig } from '@commitlint/types';

export default {
    extends: ['@commitlint/config-angular'],
    rules: {
        'subject-max-length': [2, 'always', 120],
        'scope-enum': [2, 'always', []],
        'type-enum': [
            2,
            'always',
            ['build', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'release', 'revert', 'style', 'test'],
        ],
    },
} satisfies UserConfig;
